home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_223 / csh / shell.doc < prev    next >
Text File  |  1992-05-06  |  40KB  |  1,311 lines

  1.  
  2.         INSTRUCTIONS FOR SHELL Version: 3.02A 20-Dec-88
  3.         ===============================================
  4.  
  5.   Contents
  6.   --------
  7.  
  8.     O.    Changes over old versions
  9.     I.    Description
  10.     II.   Overview of Major features
  11.     III.  Restrictions
  12.     IV.   PIPES
  13.     V.    Command Pre-processor
  14.     VI.   Command Line Editing
  15.     VII.  Function Keys
  16.     VIII. Shell Commands
  17.     IX.   Special Set Variables
  18.     X.    Advanced Topics
  19.     XI.   Example login file
  20.     XII.  Example source files
  21.     XIII. Default values
  22.     XIV.  Why ARP ?
  23.  
  24. O.  Changes over old version
  25.     ------------------------
  26.  
  27. New to 3.03A:
  28.  
  29. - New filter commands fltlower, fltupper.
  30. - Added configuration file feature: now if you have a file named S:.login,
  31.   it will be sourced for every Shell you start.
  32. - New option dir -c.
  33. - New editing feature: shift-left(right) arrow move cursor to previous(next)
  34.   word.
  35. - Bugs fixed: alias command wasn't listed in help; typing a number as a
  36.   command was interpreted like 'alias'.
  37.  
  38. New to 3.02A:
  39.  
  40. - New commands: fornum, forline, strleft, strright, strmid, strlen, exec.
  41. - Improved commands: foreach, pri.
  42. - New system variable _clinumber.
  43. - You can now split long lines in source files (see source for details).
  44. - window -q now lists also position of screens/windows, not only dimension.
  45. - Since strings are handled directly from Shell with new commands,
  46.   rpn is now used only for calculations; string commands are gone.
  47.   However, now RPN is really usable.
  48. - Changed rawgets() to fix some problems with function keys, multi-line
  49.   editing and window resizing; also, fixed bug with ^E.
  50. - cat now warns you if it can't find any file matching your pattern.
  51. - Now uses DOS packets to get ptr to CLI window; this fixes a bug that
  52.   caused problems if Shell was run on unactive windows.
  53. - Fixed minor bugs (htype printed some more ASCII bytes, some commands
  54.   returned random values, history didn't print CR's).
  55. - Heavy mods to this file.
  56.  
  57. New to 3.01A:
  58.  
  59. - Fixed bug with strings: before it printed strings with lenght 1 more
  60.   than specified lenght.
  61. - Made some additions and corrected many errors in Shell.doc (this file).
  62. - Modified handler of external commands to allow things like DATE "?"
  63.   (always use quotes).
  64. - Corrected cat: it didn't work with STDIN before.
  65.  
  66. I.  Description
  67.     -----------
  68.  
  69. This version of Shell is the follow of:
  70.     Shell V2.04 (C)Copyright 1986, Matthew Dillon, All Rights Reserved
  71.     Shell V2.04M-V2.07M by Steve Drew
  72.     Shell V2.08MI and V3.xxA by Carlo Borreo & Cesare Dieni
  73.  
  74. Send suggestions/criticism/anything else to Carlo Borreo or Cesare Dieni at:
  75.  
  76.     BITNET:  PERUGIA@ICNUCEVM.BITNET    
  77.  
  78. or
  79.     Carlo Borreo        Cesare Dieni
  80.     Via G. Berio 34        Via G. Taddei 3
  81.     I-18100 Imperia        I-56100 Pisa
  82.     Italy            Italy
  83.  
  84. You may distribute this program for non-profit only.
  85.  
  86.  
  87. II. OVERVIEW
  88.     --------
  89.  
  90. Shell provides a convient AmigaDos alternative command interface.
  91. All its commands are internal and thus does not rely on the c:
  92. commands for any functionality.
  93.  
  94. Major features include:
  95.  
  96.     -command line editing
  97.     -shell & Amigados search path support
  98.     -simple history
  99.     -redirection of any command
  100.     -piping
  101.     -aliases
  102.     -variables & variable handling (embedded variables)
  103.     -file name expansion via conventional wild carding ('?', '*' and more)
  104.     -conditionals (if/else ect..)
  105.     -source files  (w/ gotos and labels)
  106.     -many built in commands to speed things up
  107.  
  108.  
  109. III. RESTRICTIONS
  110.      ------------
  111.  
  112.     o AmigaDos execute command will not work. Alternative is to use shell
  113.       own script language (which is more powerful) or to do a 'run execute'.
  114.     o This version runs UNDER WORKBENCH 1.2 or 1.3.
  115.     o VDK handler has a bug with setting file dates so when using the copy
  116.       command and VDK you should use the -d switch otherwise your file date
  117.       in vdk: will be bad. (This is not a bug with shell)
  118.     o If using with conman it may be best to start shell with the -a switch
  119.       (shell -a .login) to turn off shell's command line editing and use
  120.       conmans instead.
  121.  
  122.  
  123. IV. NOTES ON PIPES
  124.     --------------
  125.  
  126.     PIPES have been implimented using temporary RAM: files.  Thus, you
  127.     should be careful when specifying a 'ram:*' expansion as it might
  128.     include the temp. files.  These files are deleted on completion of
  129.     the pipe segment.
  130.  
  131.     The file names used are completely unique, even with multiple shell
  132.     running simultaniously.
  133.  
  134.     My favorite new feature is the fact that you can now redirect to and
  135.     from, and pipe internal commands.  'echo charlie >ram:x', for
  136.     instance.  Another favorite:
  137.  
  138.        echo "echo mem | shell" | shell
  139.  
  140.     To accomplish these new features, I completely re-wrote the command
  141.     parser in execom.c
  142.  
  143.     NO BCPL program should be output-append redirected (>>).
  144.  
  145.  
  146. V.  COMMAND PRE-PROCESSOR
  147.     ---------------------
  148.  
  149.     Preprocessing is done on the command line before it is passed on to
  150.     an internal or external routine:
  151.  
  152.     ^c    where c is a character is converted to that control character.
  153.         Thus, say '^l' for control-l.
  154.  
  155.     $name    where name is a variable name.  Variable names can consist of
  156.         0-9, a-z, A-Z, and underscore (_).  The contents of the
  157.         specified variable is used.  If the variable doesn't exist,
  158.         the specifier is used.  That is, if the variable 'i' contains
  159.         'charlie', then '$i' -> 'charlie'.  If the variable 'i' doesn't
  160.         exist, then '$i'->'$i' .
  161.  
  162.     ;    delimits commands.   echo charlie ; echo ben.
  163.  
  164.     ' '    (a space). Spaces delimit arguments.
  165.  
  166.     "string" a quoted string.  For instance, if you want to echo five spaces
  167.         and an 'a':
  168.  
  169.         echo      a       -> a
  170.         echo "    a"      ->      a
  171.  
  172.     \c    overide the meaning of special characters.  '\^a' is a
  173.         circumflex and an a rather than control-a.  To get a backslash,
  174.         you must say '\\'.
  175.  
  176.         also used to overide alias searching for commands.
  177.  
  178.     >file    specify output redirection.  All output from the command is
  179.         placed in the specified file.
  180.  
  181.     >>file    specify append redirection (Does not work with BCPL programs).
  182.  
  183.     <file    specify input redirection. The command takes input from the
  184.         file rather than the keyboard (note: not all commands require
  185.         input; it makes no sense to say 'echo <charlie' since
  186.         the 'echo' command only outputs its arguments).
  187.  
  188.     |    PIPE specifier.  The output from the command on the left becomes
  189.         the input to the command on the right.  The current SHELL
  190.         implimentation uses temporary files to store the data.
  191.  
  192.     !!    execute the previously executed command.
  193.     !nn    (nn is a number).  Insert the history command numbered n (see
  194.         the HISTORY command)
  195.     !partial search backwards through the history list for a command which
  196.         looks the same as 'partial', and execute it.
  197.  
  198.     #    Enter comment.  The rest of the line is discarded (note: \#
  199.         will, of course, overide the comment character's special
  200.         meaning)
  201.  
  202.  
  203. VI. COMMAND LINE EDITING
  204.     --------------------
  205.  
  206.     o Command line can be upto 255 chars.
  207.     o Inserts and deletes are handled correctly over multiple screen lines.
  208.     o Shell will keep track of the line width should the window get resized.
  209.  
  210.     KEY DEFINITIONS:
  211.         Up Arrow    Recal previous commands
  212.         Down Arrow  Recal commands
  213.         Left Arrow  Move cursor about command line.
  214.         Right Arrow  "     "      "      "      "
  215.         Shift-Up Arrow    Get start of history
  216.         Shift-Down Arrow   "  end   "     "
  217.         Shift-Left Arrow  Moves cursor a word left
  218.         Shift-Right Arrow   "     "    "  "   right
  219.         ^A        Toggle insert/overtype mode.
  220.         ^D        EOF
  221.         ^E        Put cursor at end of text.
  222.         ^K        Delete to end of line.
  223.         ^R        Retype current line.
  224.         ^U        Erase entire line.
  225.         ^X        Erase entire line.
  226.         ^Z        Put cursor at start of text.
  227.         f1 - f10    Execute command if variable exists.
  228.         F1 - F10    More commands (Shifted f keys).
  229.         Help        Invokes help command
  230.  
  231.  
  232. VII. FUNCTION KEYS
  233.      -------------
  234.  
  235.     Function keys now insert text to the current position on the command
  236.     line. They maybe terminated with a ^M (return). f1 would be non shifted
  237.     where as F1 is shifted.
  238.     Most of functions key have a default definition, but it may be changed.
  239.  
  240.       $ set f1 dir df0:^M
  241.  
  242.     will add the text 'dir df0:<return>' to the current line.
  243.  
  244.       $ set f1 dir
  245.  
  246.     would only add 'dir' you could then enter ' df0:<return>'
  247.  
  248.  
  249. VIII. SHELL COMMANDS
  250.       ---------------
  251.  
  252.    First to start shell from a CLI
  253.  
  254.    shell [-a] [-c command;command]
  255.  
  256.    where:
  257.     -a disables all command line editing features. This is useful for
  258.     when running shell over AUX:, and necessary if you are running
  259.     CONMAN.
  260.  
  261.     -c allows execution of one command line and then exits out of shell.
  262.     This is useful for running a internal shell commands in the
  263.     background or from an external application. eg:
  264.  
  265.         Run shell -c dir df0:; copy -r df0: df1: >nil:; echo "Done"
  266.  
  267.     If you 'Run' shell in the background without the -c switch shell
  268.     will detect this and imediatley exit.
  269.  
  270.    Command execution:
  271.  
  272.    Internal shell commands maybe abreviated.
  273.  
  274.    The first argument is the command-name... here is (in order) how Shell
  275.    tries to execute it:
  276.  
  277.     1) Alias list is searched for an alias exactly matching name.
  278.     2) Internal commands list is scanned for a command even partially
  279.        matching name (so you can, for instance, say resi for resident;
  280.        however, you should specify enough of a command to be unique).
  281.     3) ARP resident list is scanned (you can use Shell's resident
  282.        command to add/remove a file in this list).
  283.     4) At this point, command is supposed to be external (disk), and
  284.        is searched before in current directory, then in Shell's
  285.        path, and finally in AmigaDOS path.
  286.     5) As a last chance, AUTOMATIC SOURCING is tried.
  287.  
  288.    AUTOMATIC SOURCING may be accomplished by naming shell scripts with a
  289.    .sh suffix.  Thus, if you say 'stuff' and the file 'stuff.sh' exists in
  290.    your current or C: directory or anywhere in Shell search path, it will
  291.    be SOURCED with any arguments you have placed in the $_passed variable.
  292.    This is equivalent to typing 'source stuff.sh'
  293.  
  294.    Wild card expansions:
  295.     Most shell commands will accept multiple arguments that can
  296.     be as a result of wild card expansion. Also when the calling
  297.     an external command shell will first expand any wild cards
  298.     to seperate arguments. If you wish to have the external command
  299.     handle it's own wild carding you will need to insert quotes
  300.     around the special wild card characters ? and *.
  301.  
  302.     eg.
  303.         arc a new.arc *.txt    - shell will expand and pass to arc
  304.         arc a new.arc "*.txt"    - let arc expand the wild cards.
  305.  
  306.     Wild card expansions:
  307.  
  308.     ?    match any single character
  309.     *    match any string
  310.     .../*    recursive search down ALL sub directories from current level
  311.     !    Exclude pattern matching specifier
  312.     &    prefixed to patterns, ask confirmation for each file
  313.  
  314.     Examples:
  315.  
  316.     df0:.../*        all files in all directories on df0:
  317.     df0:.../!*.info     full directory tree of df0: but exclude
  318.                 any ugly .info files.
  319.     !*.o !*.c        will result in ALL files matching since what
  320.                 doesn't match the !*.o will match the !*.c
  321.     df1:&*            all files in root of df1:, but ask 
  322.                 confirmation for each
  323.  
  324.     LIST OF COMMANDS:
  325.     -----------------
  326.  
  327.     ABORTLINE
  328.     Usage    : abortline
  329.     Example    : echo a;abort;echo b
  330.     Results    : a
  331.  
  332.     Causes the rest of the line to be aborted. Intended for use in
  333.     conjunction with exception handling.
  334.  
  335.     ADDBUFFERS
  336.     Usage    : addbuffers drive buffers
  337.     Example    : addbuffers df0: 24
  338.  
  339.     Just like AmigaDOS addbuffer command, causes new buffers to be
  340.     allocated for disk I/O. Each buffer costs 512 bytes of CHIP memory.
  341.  
  342.     ALIAS
  343.     Usage    : alias [name [command string] ]
  344.     Example    : alias vt "echo Starting VT100;run sys:tools/vt100"
  345.  
  346.     Sets a name to be a string. You can alias a single name to a set
  347.     of commands if you enclose them in quotes as above. By simply
  348.     typing vt, the command line above would be executed.
  349.  
  350.     Argument Passing to an Alias:
  351.  
  352.     Usage    : alias name "%var [command string]"
  353.     Example    : alias xx "%q echo hi $q, how are ya."
  354.           xx Steve
  355.     Results    : hi Steve, how are ya.
  356.  
  357.     The second form of the alias command allows passing of arguments
  358.     to any position within the command string via use of a variable
  359.     name. To pass arguments to the end of a command string this method
  360.     is actually not necessary.
  361.  
  362.     Typing "alias name" you will get the alias for that name, while with
  363.     "alias" you get a list of all alias.
  364.  
  365.     ASET
  366.     Usage    : aset name value
  367.     Example    : aset INCLUDE include:
  368.  
  369.     Set a variable in a way that is compatible with Aztec SET command;
  370.     this is completely different from Shell variable.
  371.     May even be used to set ARP variables.
  372.  
  373.     ASSIGN
  374.     Usage    : assign [logical [physical] ]
  375.     Example    : assign C: df1:c
  376.  
  377.     Use it like AmigaDOS assign command to set, remove or list
  378.     assignments of logical names to directories.
  379.  
  380.     CAT
  381.     Usage    : cat [-n][file file....]
  382.     Example    : cat foo.txt
  383.  
  384.     Type the specified files onto the screen.  If no file is specified,
  385.     STDIN in used.  CAT is meant to output text files only.
  386.     Specifying -n option you will get numbered lines.
  387.  
  388.     CD
  389.     Usage    : cd [path]
  390.     Example    : cd df0:devs/printers
  391.  
  392.     Change your current working directory.  You may specify '..' to go
  393.     back one directory (this is a CD specific feature, and does not
  394.     work with normal path specifications).
  395.  
  396.     CD without any arguments displays the path of the directory you
  397.     are currently in.
  398.  
  399.     CLOSE
  400.     Usage    : close filenumber
  401.  
  402.     Close the specified file opened by open.
  403.     See open and flist for more info.
  404.  
  405.     COPY
  406.     (CP)
  407.     Usage    : copy [-u][-d] file file
  408.     or    : copy [-u][-d] file1 file2...fileN dir
  409.     or    : copy [-r][-u][-d] dir1 dir2...dirN dir
  410.     options    :
  411.         -r    recursive, copy all subdirectories as well.
  412.         -u    update, if newer version exist on dest, don't copy
  413.         -d    don't set destination file date to that of source.
  414.  
  415.     Example    : copy -r df0: df1:
  416.  
  417.     Copy files or directories. When copying directories, the -r option
  418.     must be specified to copy subdirectories as well.  Otherwise, only
  419.     top level files in the source directory are copied.
  420.  
  421.     All files will be displayed as they are copied and directory's
  422.     displayed as they are created. This output can be suppessed by
  423.     redirecting to nil: eg. copy -r >nil: df0: df1:
  424.  
  425.     Copy will abort after current file on Control-C.
  426.  
  427.     Copy by default sets the date of the destination file to that of
  428.     the source file. To overide this feature use the -d switch.
  429.  
  430.     Another useful option is the -u (update) mode were copy will not
  431.     copy any files which exists already in the destination directory
  432.     if the destination file is newer or equal to the source file.
  433.     This is useful when developing code say in ram: eg. 'copy *.c ram:'
  434.     when done you can copy -u ram: df1: and only those modules you have
  435.     modified will be copied back.
  436.  
  437.     Copy command will now create the destination directory if it does
  438.     not exist when specified as 'copy [-r] dir dir'. If you specify
  439.     copy file file file dir, then 'dir' must already exist.
  440.  
  441.     CP
  442.     Equivalent to copy.
  443.  
  444.     DATE
  445.     Usage    : date [new date and/or time]
  446.     Example    : date Wednesday  # this refers to NEXT wed, of course
  447.  
  448.     Used to read or set system date and/or time. All standard options
  449.     may be used (yesterday, tomorrow, monday, etc.).
  450.     Leading zero's are not necessary.
  451.     Without parameters shows Dddddd DD-MMM-YY HH:MM:SS.
  452.  
  453.     DEC
  454.     Usage    : dec varname [value]
  455.     Example    : dec abc
  456.  
  457.     Decrement the numerical equivalent of the variable with specified
  458.     value (default: 1) and place the ASCII-string result back into
  459.     that variable.
  460.  
  461.     DELETE
  462.     (RM)
  463.     Usage    : delete [-p][-r] file file file...
  464.     Example    : delete foo.txt test.c
  465.  
  466.     Remove (delete) the specified files.  Remove always returns
  467.     errorcode 0.  You can remove empty directories.  The '-r' option
  468.     will remove non-empty directories by recursively removing all sub
  469.     directories.
  470.     You can remove delete-protected files specifying -p option.
  471.     If you specify any wildcard deletes the files will be listed as
  472.     they are deleted. This can be suppressed by redirecting to nil:
  473.  
  474.     DIR
  475.     (LS)
  476.     Usage    : dir [-sdfc] [path path ... ]
  477.     Example    : dir df0:
  478.     options    :
  479.         -s  short multi(4) column display.
  480.         -d  list directories only
  481.         -f  list files only
  482.         -c  don't change colors for directories (useful to printer)
  483.  
  484.     Displays a directory of specified files. Default output shows
  485.     date, protection, block size, byte size and total space used.
  486.     Protections flags include new 1.2/1.3 flags (see under protect).
  487.     Files are alphabetically sorted, without case sensitivity, and
  488.     directories are in red pen (unless you use -c).
  489.  
  490.     DISKCHANGE
  491.     Usage    : diskchange drive
  492.  
  493.     Like AmigaDOS diskchange.
  494.  
  495.     ECHO
  496.     Usage    : echo [-n] string
  497.     Example    : echo hi there
  498.     Results    : hi there
  499.  
  500.     Echo the string given. If -n switch given no newline is
  501.     appended.
  502.  
  503.     ELSE ;
  504.     Usage    : else ; command
  505.     Usage    : if -f foo.c ; else ; echo "Not there" ; endif
  506.  
  507.     Else clause, must follow an IF statement.
  508.  
  509.     ENDIF
  510.     Usage    : endif
  511.  
  512.     The end of an if statement.
  513.  
  514.     Note: if you return from a script file with unterminated IF's
  515.     and the last IF was false, prompt will be changed to an
  516.     underscore ('_') and no commands will be executed until
  517.     'endif' is typed.
  518.  
  519.     EXEC
  520.     Usage    : exec command
  521.     Example    : set util SYS:sytem/utilities
  522.           exec $util/make    # would not work without exec
  523.  
  524.     Execute the command specified; exec command is equivalent to
  525.     command, only you can use variables to specify command name.
  526.  
  527.     FAULT
  528.     Usage    : fault error1 .. errorN
  529.     Example    : fault 205 212
  530.  
  531.     Like AmigaDOS fault, prints specified error messages.
  532.  
  533.     FILENOTE
  534.     Usage: filenote file1 .. filen  note
  535.  
  536.     Set AMIGADOS comment of the specified file. This is not very useful,
  537.     since in current implementation of Shell file comments are not listed
  538.     in directory, but it was so easy to implement...
  539.  
  540.     FLIST
  541.     Usage    : flist
  542.  
  543.     Lists the filenumbers of files opened by open.
  544.     See open and close for more info.
  545.  
  546.     FLTLOWER
  547.     Usage    : fltlower
  548.     Example    : dir | fltlower
  549.     Or    : fltlower <readme
  550.  
  551.     This is a filter command, i.e. it reads from stdin and writes to
  552.     stdout. The more natural way to use it is a pipe, or it can be
  553.     redirected.
  554.     Its purpose is to convert all alphabetic to lower case.
  555.  
  556.     FLTUPPER
  557.     The same of fltlower, only this converts to upper case.
  558.  
  559.     FOREACH
  560.     Usage    : foreach [-v] varname ( strings ) command
  561.     Example    : foreach i ( a b c d ) "echo -n $i;echo \" ha\""
  562.     Result    : a ha
  563.           b ha
  564.           c ha
  565.           d ha
  566.  
  567.     'strings' is broken up into arguments.  Each argument is placed in
  568.     the variable 'varname' in turn and 'command' executed.  To execute
  569.     multiple commands, place them in quotes.
  570.  
  571.     Foreach is especially useful when interpreting passed arguments in
  572.     an alias.
  573.  
  574.     eg.
  575.         foreach i ( *.pic ) viewilbm $i
  576.     assuming a.pic and b.pic in current directory the following commands
  577.     will occur:
  578.         viewilbm a.pic
  579.         viewilbm b.pic
  580.  
  581.     Flag -v causes arguments to be displayed every time command is
  582.     executed.
  583.  
  584.     FOREVER
  585.     Usage    : forever command
  586.     or    : forever "command;command;command..."
  587.  
  588.     The specified commands are executed over and over again forever.
  589.  
  590.     -Execution stops if you hit ^C
  591.     -If the commands return with an error code.
  592.  
  593.    FORLINE
  594.     Usage    : forline var filename command
  595.     or    : forline var filename "command;command..."
  596.     Example    : forline i RAM:temp "echo line $_linenum=$i"
  597.  
  598.     For each ASCII line of file specified commands are executed and
  599.     var points to line content. You can check system variable _linenum
  600.     to find the number of the line currently read.
  601.  
  602.    FORNUM
  603.     Usage    : fornum var n1 n2 command
  604.     or    : fornum var n1 n2 "command;command..."
  605.     Example    : fornum x 1 10 echo $1
  606.  
  607.     Executes command(s) for all numerical values of x between n1 and n2.
  608.  
  609.    GOTO
  610.     Usage    : goto label
  611.     Example    :
  612.           label start
  613.             echo "At start"
  614.             dir ram:
  615.             goto start
  616.  
  617.     Goto the specified label name.  You can only use this command from a
  618.     source file. Labels may now be forward or reverse from current
  619.     position.
  620.  
  621.     HELP
  622.     Usage    : help
  623.     Example    : help
  624.  
  625.     Simply displays all the available commands.  The commands are
  626.     displayed in search-order.  That is, if you give a partial name
  627.     the first command that matches that name in this list is the one
  628.     executed.  Generally, you should specify enough of a command so that
  629.     it is completely unique.
  630.  
  631.     HISTORY
  632.     Usage    : history [partial_string]
  633.     Example    : history
  634.  
  635.     Displays the enumerated history list.  The size of the list is
  636.     controlled by the _history variable.  If you specify a partial-
  637.     string, only those entries matching that string are displayed.
  638.  
  639.     HOWMANY
  640.     Usage    : howmany
  641.  
  642.     This command tells you how many instances of Shell are running
  643.     in your system.
  644.  
  645.     HTYPE
  646.     Usage    : htype file1 .. filen
  647.  
  648.     Displays the specified files in hex and ASCII, just like the system
  649.     command Type file opt h. Especially suitable for binary files.
  650.  
  651.     IF
  652.     Usage    : if [-n] argument conditional argument ;
  653.     or    : if [-n] argument
  654.     or    : if [-n] -f file
  655.     or    : if [-n] -d file/dir
  656.     or    : if [-n] -m
  657.     or    : if [-n] -t file file1 .. fileN
  658.     or    : if [-n] -r rpnexpression
  659.  
  660.     If a single argument is something to another argument.  Conditional
  661.     clauses allowed:
  662.  
  663.     <, >, =, and combinations (wire or).  Thus <> is not-equal, >=
  664.     larger or equal, etc...
  665.  
  666.     If arguments are not numeric, they are compared as strings.
  667.  
  668.     Usually the argument is either a constant or a variable ($varname).
  669.  
  670.     The second form if IF is conditional on the existance of the argument.
  671.     If the argument is a "" string, then false , else TRUE.
  672.  
  673.     The third form of IF used by -f switch checks for existance of
  674.     the specified file.
  675.  
  676.     Switch -d tests the type of the object specified: if it is a
  677.     directory, then TRUE; if it is a file (or it doesn't exist)
  678.     then FALSE.
  679.  
  680.     Switch -m is used to test if FAST memory is present, i.e. wheter
  681.     more than 512K RAM are available.
  682.     Example (to be included in a login.sh file):
  683.     if -m; resident -a lc1 lc2 blink; endif
  684.  
  685.     Using -t form compares the date and time of the first file with
  686.     all the others; if the first is younger than ALL the others, then
  687.     FALSE, else TRUE. If a file doesn't exists, it is considered as
  688.     being older.
  689.     This feature is especially useful for building makefiles without
  690.     using any MAKE utility.
  691.     Example:
  692.     if -t test.o test.asm test.i ; asm -o test.o test.asm ; endif
  693.  
  694.     Option -r evaluates a given RPN expression (see under RPN for more
  695.     info): if value on top of stack is 0, then FALSE, else TRUE.
  696.  
  697.     Switch -n (NOT) reverses the result.
  698.  
  699.     When using 'IF' command interactively if you are entering commands
  700.     following an 'IF' that was false, the prompt will be set to a
  701.     underscore '_ ' to indicate all commands will be ignored until
  702.     an 'ELSE' or 'ENDIF' command is seen.
  703.  
  704.     INC
  705.     Usage    : inc varname [value]
  706.     Example    : inc abc 5
  707.  
  708.     Increment the numerical equivalent of the variable with specified
  709.     value (default: 1) and place the ascii-string result back into
  710.     that variable.
  711.  
  712.     INFO
  713.     Usage    : info
  714.  
  715.     Display Device statistics for all the disk-type devices in system
  716.     (DFk:, HDk, JHk:, RAM:, RDk: ...), just like the system command
  717.     info. Gives block used/free, % used, errs, status and volume name.
  718.  
  719.     INPUT
  720.     Usage    : input var var ... var
  721.     Example    : input abc
  722.  
  723.     Input from STDIN (or a redirection, or a pipe) to a variable.  The
  724.     next input line is placed in the variable.
  725.  
  726.     JOIN
  727.     Usage    : join [-r] file1..fileN destfile
  728.     Example    : join part1 part2 part3 total
  729.  
  730.     Joins the specified files to get destfile. If destfile already
  731.     exists, an error message is generated and operation is aborted,
  732.     unless you specify -r (replace) option.
  733.  
  734.     LABEL
  735.     Usage    : label name
  736.  
  737.     Create a program label right here. Used in source files, can then
  738.     GOTO a label.
  739.  
  740.     LS
  741.     Equivalent to dir.
  742.  
  743.     MD
  744.     Equivalent to mkdir.
  745.  
  746.     MEM
  747.     Usage    : mem
  748.  
  749.     Display current memory statistics for CHIP memory and
  750.     FAST memory (if any installed).
  751.  
  752.     MKDIR
  753.     (MD)
  754.     Usage    : mkdir name name name...
  755.     Example    : mkdir df0:stuff
  756.  
  757.     Create the specified directories.
  758.  
  759.     MV
  760.     Equivalent to rename.
  761.  
  762.     OPEN
  763.     Usage    : open filename filemode filenumber
  764.     Example    : open RAM:data w 1
  765.  
  766.     This allows you to open a file, redirect to it as many commands
  767.     as you like, then close it.
  768.     Filename is any valid AmigaDOS filename, filemode is either r
  769.     for read or w for write, filenumber is a number between 1 and 10.
  770.     To redirect a program to or from an open file, use as your redir
  771.     filename a dot followed by the filenumber.
  772.     Here is a complete example:
  773.  
  774.         open RAM:data w 1
  775.         echo -n 2+2= >.1
  776.         rpn 2 2 + . CR >.1
  777.         close 1
  778.         type RAM:data    # will display 2+2=4
  779.     See also close, flist.
  780.  
  781.     PATH
  782.     Usage    : path
  783.  
  784.     Used to list AmigaDOS path. In current version can't be used to
  785.     set it.
  786.  
  787.     PRI
  788.     Usage    : pri clinumber pri
  789.     Example    : pri 3 5    # set priority of cli #3 to 5
  790.  
  791.     Change the priority of the specified task (use PS command to
  792.     determine clinumber). If you specify 0 as clinumber you can
  793.     change priority of "this" task (the one executing shell).
  794.  
  795.     PROTECT
  796.     Usage    : protect file1 ... filen [flags]
  797.     Example    : protect myfile rwe
  798.  
  799.     Set AMIGADOS file protection flags for the file specified. Valid
  800.     flags are h, s, p, a, r, w, e, d.
  801.     If you don't specify the flags, all flags are cleared.
  802.     Bit 'a' is new to WorkBench 1.2, while 'h', 's', 'p' are new to 1.3.
  803.  
  804.     PS
  805.     Usage    : ps
  806.  
  807.     Gives status of DOS processes.  eg:
  808.  
  809.     Proc Command Name    CLI Type    Pri.  Address  Directory
  810.      1   SHELL        Initial CLI   0      97b0  Stuff:shell
  811.      2   sys:c/clockmem    Background  -10    2101a8  Workdisk:
  812.      3   c:emacs        Background    0    212f58  Stuff:shell
  813.      4   sys:c/VT100    Background    0    227328  Workdisk:
  814.  
  815.     Address is the addres of the task, directory is the process
  816.     currently CD'd directory.
  817.  
  818.     PWD
  819.     Usage    : pwd
  820.  
  821.     Rebuild _cwd by backtracing from your current directory.
  822.  
  823.     QUIT
  824.     Usage    : quit
  825.  
  826.     Quit out of Shell back to CLI.
  827.  
  828.     RBACK
  829.     Usage    : rback command
  830.  
  831.     Start a new process executing the specified command, but can't do
  832.     input/output. Equivalent to 'run command >NIL: <NIL:'.
  833.     This command is not fully reliable: use at your own risk.
  834.  
  835.     RENAME
  836.     (MV)
  837.     Usage    : rename from to
  838.     or    : rename from from from ... from todir
  839.  
  840.     Allows you to rename a file or move it around within a disk.
  841.     Allows you to move 1 or more files into a single directory.
  842.  
  843.     RESIDENT
  844.     Usage    : resident [-a][-r] [files]
  845.  
  846.     This is ARP resident. Commands are searched by Shell in resident
  847.     list BEFORE of searching on any external device.
  848.     Option -a loads RESIDENT programs, -r removes them.
  849.     Resident with no args lists resident programs.
  850.     Not all programs can run as resident, see ARP docs for more info.
  851.     However, programs linked with Lattice 5.0 startup cres.o can always
  852.     run as resident.
  853.  
  854.     RETURN
  855.     Usage    : return [n]
  856.     Example    : return 10
  857.  
  858.     Exit from a script file, or quit from shell with optional
  859.     exit code.
  860.  
  861.     RM
  862.     Equivalent to delete.
  863.  
  864.     RPN
  865.     Usage    : rpn expression
  866.     Example    : rpn 3 7 *    # Prints the value 21
  867.  
  868.     Evaluate an RPN expression, using 32-bit values. In older versions
  869.     of Shell RPN contained string functions too, but now that strings
  870.     are handled by specifical commands, these are no more needed.
  871.     At end of evaluation, RPN prints values on stack, so you can
  872.     say for instance "rpn $x 2 * | input x" to double the value of
  873.     variable x.
  874.     Functions implemented are:
  875.  
  876.         + - * /    Obvious meaning; / means integer division, of course
  877.         %        Module operator e.g. "rpn 7 3 %" answers 1
  878.         & | ~    Bitwise and, or, not operators
  879.         > < ==    Tests for greater-than, lower-than, equal. To get
  880.             a test for >= (or <=), you can use < ! (or > !)
  881.         !        Logical not operator
  882.         DUP        Duplicate value on top of stack
  883.         DROP    Drop value on top of stack
  884.         SWAP    Swap two values on top of stack
  885.  
  886.     RUN
  887.     Usage    : run prgm args
  888.     Example    : run emacs test.c
  889.  
  890.     Start a new process executing the specified command.
  891.     In current implementation run command can't be redirected.
  892.     This command is not fully reliable: use at your own risk.
  893.     See also rback.
  894.  
  895.     SEARCH
  896.     Usage    : search [-w][-c][-n][-r][-e][-q] filelist string
  897.  
  898.     Search specified files for a string. Only lines containing the
  899.     specified strings are displayed.
  900.  
  901.     If you specify any directory in filelist, and use the -r (recurse)
  902.     switch, all files in directory are recursively searched.
  903.  
  904.     Lines are numbered for default; use -n (number) switch to turn off
  905.     line numbering.
  906.  
  907.     Search is normally not case sensitive; use -c (case) flag to turn ON
  908.     case sensitivity.
  909.  
  910.     By specifying -e (exclude) switch, only lines NOT containing the
  911.     specified string are listed.
  912.  
  913.     Using -w (wild) flag, only the lines matching with the string are
  914.     listed.
  915.     Notes to wild card matching;
  916.     - Uses Shell standard matching.
  917.     - Wild cards allowed are *, ?, !.
  918.     - Matching is not case sensitive (even if you use -c flag).
  919.     - The WHOLE line must match the string, not only a substring.
  920.     - String MUST be enclosed in quotes to avoid wildcard expansion
  921.  
  922.     Flag -q (quiet) suppresses printing of file names.
  923.  
  924.     Examples:
  925.         search -c -r df0:include ACCESS
  926.     Find all occurrencies of ACCESS (in uppercase) in all files
  927.     contained in include directory.
  928.         search -w shell.h "#define*"
  929.     Lists only lines of file beginning with (not simply containing)
  930.     #define.
  931.  
  932.     SET
  933.     Usage    : set [name] [string]
  934.     Example    : set abc hello
  935.  
  936.     Set with no args lists all current variable settings.
  937.     Set with one arg lists the setting for that particular variable.
  938.     Specifying name and string, stores the string into variable name.
  939.  
  940.     Also See the section on special _variables.
  941.  
  942.  
  943.     SLEEP
  944.     Usage    : sleep timeout
  945.     Example    : sleep 10
  946.  
  947.     Sleep for 'timeout' seconds, or until ^C typed.
  948.  
  949.     STACK
  950.     Usage    : stack [number]
  951.     Example    : stack 8000
  952.  
  953.     Changes the default stack for this CLI. Without arguments, prints
  954.     it.
  955.  
  956.     STRHEAD
  957.     Usage    : strhead varname breakchar string
  958.     Example    : strhead x . foobar.bas    # Will set x to "foobar"
  959.  
  960.     Remove everything after and including the breakchar in 'string' and
  961.     place in variable 'varname'.
  962.  
  963.     STRINGS
  964.     Usage    : strings file1..fileN minlenght
  965.     Example    : strings c:dir c:list shell 7
  966.  
  967.     Prints strings contained in specified files (usually binary)
  968.     with lenght >= minlenght.
  969.  
  970.     STRLEFT
  971.     Usage    : strleft varname string n
  972.     Example    : strleft x LongString 5    # Will set x to "LongS"
  973.  
  974.     Place leftmost n chars of string in variable varname.
  975.  
  976.     STRLEN
  977.     Usage    : strlen varname string
  978.     Example    : strlen x Hello        # Will set x to "5"
  979.  
  980.     Puts len of string in variable varname.
  981.  
  982.     STRMID
  983.     Usage    : strmid varname string n1 [n2]
  984.     Example    : strmid x LongString 5 3    # Will set x to "Str"
  985.  
  986.     Places n2 chars from string, starting at n1, in variable varname.
  987.     By omitting n2, you get all chars from n1 to end of string.
  988.  
  989.     STRRIGHT
  990.     Usage    : strright varname string n
  991.     Example    : strright x LongString 5    # Will set x to "tring"
  992.  
  993.     Place rightmost n chars of string in variable varname.
  994.  
  995.     STRTAIL
  996.     Usage    : strtail varname breakchar string
  997.     Example    : strtail x . foobar.bas    # Will set x to "bas"
  998.  
  999.     Remove everything before and including the breakchar in 'string' and
  1000.     place in variable 'varname'.
  1001.  
  1002.     SOURCE
  1003.     Usage    : source file [arguments]
  1004.     Example    : source mymake.sh all
  1005.     Result    : source file 'mymake.sh' called with var _passed = 'all'
  1006.  
  1007.     Execute commands from a file.  You can create SHELL programs in
  1008.     a file and then execute them with this command.  Source'd files
  1009.     have the added advantage that you can have loops in your command
  1010.     files (see GOTO and LABEL).  You can pass SOURCE files arguments
  1011.     by specifying arguments after the file name.  Arguments are passed
  1012.     via the _passed variable (as a single string).
  1013.  
  1014.     Long lines may be split by appending a backslash (\) at end of
  1015.     first half. However, even joined lines cannot be longer than
  1016.     ~255 chars. See example of source files.
  1017.  
  1018.     Automatic 'sourcing' is accomplished by placing a .sh extension on
  1019.     the file and executing it as you would a C program:
  1020.  
  1021.     --------- file hello.sh ---------
  1022.     foreach i ( $_passed ) "echo yo $i"
  1023.     ---------------------------------
  1024.  
  1025.     $ hello a b c
  1026.     yo a
  1027.     yo b
  1028.     yo c
  1029.  
  1030.     TYPE
  1031.     Equivalent to CAT.
  1032.  
  1033.     TOUCH
  1034.     Usage    : touch file1 .. fileN
  1035.  
  1036.     Sets DateStamp on the specified files to the current date and time.
  1037.  
  1038.     UNALIAS
  1039.     Usage    : unalias name .. name
  1040.     Example    : unalias vt
  1041.  
  1042.     Delete aliases..
  1043.  
  1044.     UNSET
  1045.     Usage    : unset name .. name
  1046.     Example    : unset abc
  1047.  
  1048.     Unset one or more variables.  Deletes them entirely.
  1049.  
  1050.     VER
  1051.     Usage    : ver
  1052.  
  1053.     Show current version name, & authors.
  1054.  
  1055.     WINDOW
  1056.     Usage    : window [-q][-f][-b][-l][-s] [dimensions]
  1057.     Options    :
  1058.         -f    (front) Window to front
  1059.         -b    (back)  Window to back
  1060.         -l    (large) Window to maximum size
  1061.         -s    (small) Window to minimum size
  1062.         -a    (activate)
  1063.         -q    (query) Lists screens and windows open
  1064.  
  1065.     Various operations on CLI window. If dimensions are specified,
  1066.     they must be in the form x y width height, with values separated
  1067.     by spaces.
  1068.     The command "window -l" may be very useful on PAL machines to
  1069.     get a full PAL window from your login sequence, or if you use
  1070.     overscan WorkBench.
  1071.     Option -q gives, for each Screen and Window currently open,
  1072.     title, left edge, top edge, width, height.
  1073.  
  1074.  
  1075. IX. SPECIAL SET VARIABLES
  1076.     ---------------------
  1077.  
  1078.     _prompt
  1079.     This variable is set to the string you wish printed as your
  1080.     prompt. This can contain escape sequences if you wish, or
  1081.     you can include a %p in path definition to get CD in your
  1082.     prompt.
  1083.     Default prompt shows path specification in red pen, followed by
  1084.     a greater (>) sign and a space.
  1085.     The if command will set the prompt to a '_ ' if commands are
  1086.     disabled while waiting for a 'endif' or 'else' command. Interactive
  1087.     mode only.
  1088.  
  1089.     _history
  1090.     This variable is set to a numerical value, and specifies how far
  1091.     back your history should extend.
  1092.  
  1093.     _debug
  1094.     Debug mode... use it if you dare.  must be set to some value
  1095.  
  1096.     _verbose
  1097.     Verbose mode (for source files).  display commands as they are
  1098.     executed.
  1099.  
  1100.     _maxerr
  1101.     The worst (highest) return value to date.  To use this, you usually
  1102.     set it to '0', then do some set of commands, then check it.
  1103.  
  1104.     _lasterr
  1105.     Return code of last command executed.  This includes internal
  1106.     commands as well as external comands, so to use this variables
  1107.     you must check it IMMEDIATELY after the command in question.
  1108.  
  1109.     _cwd
  1110.     Holds a string representing the current directory we are in from
  1111.     root.  The SHELL can get confused as to its current directory if
  1112.     some external program changes the directory.  Use PWD to rebuild
  1113.     the _cwd variable in these cases.
  1114.  
  1115.     _passed
  1116.     This variable contains the passed arguments when you SOURCE a file
  1117.     or execute a .sh file.  For instance:
  1118.  
  1119.     test a b c d
  1120.  
  1121.     -------- file test.sh ----------
  1122.     echo $_passed
  1123.     foreach i ( $_passed ) "echo YO $i"
  1124.     --------------------------------
  1125.  
  1126.     _path
  1127.     This variable contains the search path when the shell is looking
  1128.     for external commands.  The format is:  DIR,DIR,DIR  Each DIR must
  1129.     have a trailing ':' or '/'.  The current directory is always
  1130.     searched first.  The entire path will be searched first for the
  1131.     <command>, then for <command>.sh (automatic shell script sourcing).
  1132.  
  1133.     The default _path is set to
  1134.         ram:,ram:c/,df0:c/,df1:c/,df0:,df1:,sys:system/
  1135.  
  1136.     _insert
  1137.     Sets the default for insert/overtype mode for command line
  1138.     editing. ^A toggles between, but after <RET> the default is
  1139.     set back as indicated by this variable. By default _insert is 1
  1140.     indicating insert mode on setting to zero will make overtype
  1141.     the default.
  1142.  
  1143.     _titlebar
  1144.     Used to set window's title bar.
  1145.  
  1146.     _clinumber
  1147.     Contains the number (1-20) of current CLI.
  1148.  
  1149. X.  ADVANCED TOPICS
  1150.     ---------------
  1151.  
  1152.     EXCEPTION_PROCESSING:
  1153.  
  1154.     if no _except variable exists, any command which fails causes the
  1155.     rest of the line to abort as if an ABORTLINE had been executed.  If
  1156.     the _except variable exists, it is of the form:
  1157.  
  1158.     "nnn;commands..."
  1159.  
  1160.     where nnn is some value representing the minimum return code required
  1161.     to cause an error.  Whenever a command returns a code which is
  1162.     larger or equal to nnn, the commands in _except are executed before
  1163.     anything.  WHEN _except EXISTS, THE COMMAND LINE DOES NOT ABORT
  1164.     AUTOMATICALLY.  Thus, if you want the current line being executed
  1165.     to be aborted, the last command in _except should be an "abortline".
  1166.  
  1167.     exception handling is disabled while in the exception handling routine
  1168.     (thus you can't get into any infinite loops this way).
  1169.  
  1170.     Thus if _except = ";", return codes are completely ignored.
  1171.  
  1172.     example:
  1173.  
  1174.     set _except "20;abortline"
  1175.  
  1176. XI. EXAMPLE LOGIN FILE
  1177.     ------------------
  1178.  
  1179. If from a CLI or the startup-script you say 'SHELL filename', that file is
  1180. sourced first.
  1181. Moreover, if you have a file called S:.login, it will be sourced for every
  1182. Shell you run. This is useful for alias and setting that you want in ALL
  1183. Shells.
  1184. If you are a CLI user, your startup-sequence may be as simple as:
  1185.  
  1186.     C:Shell S:login.sh
  1187.  
  1188. Here is, my startup code:
  1189.  
  1190. ### Example S:login.sh ###
  1191.  
  1192. window -l    # if you are on a PAL machine, or use overscan
  1193.  
  1194. set _prompt ^[[33m[$_clinumber].%p>" "
  1195.  
  1196. set F5 "cdir WORK:"^M
  1197. set f9 "ed s:login.sh"^M
  1198. set F9 "ed df0:s/startup-sequence"^M
  1199. alias toram  "%q foreach i ( $q ) \"cp -r $i: ram:$i >NIL:;\
  1200.     assign $i: ram:$i\""
  1201. alias ramop  "md RAM:op; assign OP: ram:op"
  1202. alias noop   "assign OP: ; rm -r ram:op"
  1203. alias newop  "rm -r OP:*"
  1204. alias dc     "dfc df0: to df1:"
  1205. alias go     "%q assign WORK: Boot:$q; cd WORK:; source startme.sh"
  1206. alias get    "%q cp $q RAM: >NIL:"
  1207.  
  1208. assign LC:    Stuff:c
  1209. assign INCLUDE:    Stuff:include
  1210. assign LIB:    Boot:lib
  1211. assign QUAD:    RAM:
  1212.  
  1213. rback C:FaccII; sleep 1
  1214.     # after spawning a process, it is always better to allow it
  1215.     # to load the command, to avoid excessive drive head movement
  1216.  
  1217. resident -a LC:Blink LC:lc1 LC:lc2 >NIL:
  1218.  
  1219. C:PopCli 300 C:Newcli
  1220. C:FF -1 Siesta.font >NIL:
  1221. C:Patch_1 >NIL:
  1222. stack 8000    # lc1 and lc2 need this
  1223.  
  1224. source S:setdate.sh    # this is listed in next chapter
  1225.  
  1226. ### End of example login.sh ###
  1227.  
  1228.  
  1229. XII.  Example Source files
  1230.       --------------------
  1231.  
  1232. The following is an example source file to set date and time; it may be
  1233. used at startup if you don't have an internal clock.
  1234.  
  1235. ### setdate.sh ###
  1236.  
  1237. open CON:200/100/440/80/SetDate write 1
  1238. echo >.1 -n "Current date is "
  1239. date >.1
  1240. echo >.1 -n "Please enter date: "
  1241. input <.1 d
  1242. close 1
  1243. strlen len $d
  1244. if -r $len 1 > ; date $d ; endif
  1245. echo -n "New date: " ; date
  1246.  
  1247. ### End of setdate.sh ###
  1248.  
  1249. Next comes a makefile that needs no Make program: may be executed from
  1250. Shell directely!!!
  1251.  
  1252. ### make.sh ###
  1253.  
  1254. if -t Shell.syms Shell.h; cc +HShell.syms Shell.h; rm shell.o; endif
  1255. if -t RAM:Shell.syms Shell.syms; cp -d Shell.syms RAM:; endif
  1256.  
  1257. foreach i ( main comm1 comm2 comm3 execom globals rawconsole run set \
  1258.  sub ) "if -t $i.o $i.c; echo Compile $i...;cc +IRAM:shell.syms $i.c; endif"
  1259.  
  1260. if -t Shell run.o main.o comm1.o comm2.o comm3.o execom.o \
  1261. set.o sub.o globals.o rawconsole.o
  1262.             ln  +q -m -o Shell run.o main.o comm1.o comm2.o comm3.o\
  1263.         execom.o set.o sub.o globals.o rawconsole.o -la -lc
  1264. endif
  1265.  
  1266. ### End of make.sh ###
  1267.  
  1268.  
  1269. XIII.  Default Values
  1270.        --------------
  1271.  
  1272. To make things easier, some aliases are predefined whenever you start a
  1273. new Shell. These are:
  1274.  
  1275.     - cls
  1276.     Simply clear the screen.
  1277.  
  1278.     - cdir
  1279.     Use "cdir directory" to clear the screen, set CD to directory,
  1280.     and list it.
  1281.  
  1282.     - kr
  1283.     Deletes everything on RAM:. If you think this is dangerous,
  1284.     you can remove this alias.
  1285.  
  1286.     - exit
  1287.     Leave Shell and exit CLI.
  1288.  
  1289. Moreover, many variables have default values, and many function keys are
  1290. predefined. You can use set command to determine all of these.
  1291.  
  1292. XIV.  Why ARP ?
  1293.       ---------
  1294.  
  1295. For those of you curious enough, the A in "3.xxA" means ARP. The most
  1296. recent versions of Shell use ARP.library. This has been very useful in:
  1297.  
  1298.  - Implementing commands like ASET, ASSIGN, INFO, RESIDENT, RBACK, RUN.
  1299.  - Keeping executable code small.
  1300.  
  1301. ARP.library is really public domain, so one can include it in any package,
  1302. both commercial or public domain, like I am doing with Shell.
  1303. The ARP team is trying to wipe out the BCPL from AMIGA. This is a very
  1304. good idea, I think. And there is a lot of people hoping that Commodore
  1305. will put ARP.library in ROM, before or after. This would  make the AMIGA
  1306. a very mory friendly computer to use and program.
  1307. I encourage programmers to get ARP development package: you can find it
  1308. on many BBS, and is really public domain. Users can look for a replacement
  1309. of C: commands from ARP (but, of course, if you use this Shell you won't
  1310. need them anymore, except for ARUN).
  1311.